from .models import *
from rest_framework import serializers
from accounts.serializers import UserSeri


class SchoolSeri(serializers.ModelSerializer):
    """Seri School"""

    owner = UserSeri()

    class Meta:
        model = School
        fields = ('pk', 'name', 'nick', 'desc', 'shortcut', 'location', 'owner')
